MercadoPago\Woocommerce\Gateways\BasicGateway S

Total Complexity 29
Dependencies 2
Dependents 1
Total lines 518
Lines of code 361
Logical lines of code 85
Comment lines 79
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
30 2 148
setupPaymentMethodTypesList()
A
47 7 39
process_payment()
S
50 4 29
getPaymentMethods()
S
47 2 43
validateBackUrl()
S
66 3 7
__construct()
S
52 1 23
payment_scripts()
S
72 2 6
saveOrderMetadata()
S
66 2 8
renderOrderForm()
S
59 1 15
getPaymentFieldsParams()
S
61 1 12
registerCheckoutScripts()
S
71 1 7
payment_fields()
S
73 1 6
generateExPaymentsFields()
S
65 1 9
serializePaymentMethod()
S
64 1 9